//
//  RadioCollectionViewCell.m
//  MusicPlayer
//
//  Created by dllo on 15/5/25.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//
#define Width [UIScreen mainScreen].bounds.size.width
#define Height [UIScreen mainScreen].bounds.size.height
#import "RadioCollectionViewCell.h"

@implementation RadioCollectionViewCell


- (void)dealloc
{
    [_imageview release];
    [_nameLabel release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
       
        
        self.imageview = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 100/375.0*Width, 100/667.0*Height)];
        //        [self.myImage setBackgroundColor:[UIColor cyanColor]];
        _imageview.layer.cornerRadius = 9;
        _imageview.clipsToBounds = YES;
        [self addSubview:_imageview];
        [_imageview release];
//        
//        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 60/667.0*Height, 100/375.0*Width, 35/667.0*Height)];
//        _nameLabel.backgroundColor = [UIColor lightGrayColor];
//    
//        _nameLabel.alpha = 0.7;
//        
//        [_imageview addSubview:_nameLabel];
//        [_nameLabel release];
        
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(0/375.0*Width, 105/667.0*Height, 100/375.0*Width, 30/667.0*Height)];
        self.label.textAlignment = 1;
        self.label.font = [UIFont systemFontOfSize:17/375.0*Width];
        self.label.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_label ];
        [_label release];
        
  
        

        
    }
    return self;
}





@end
